package com.gxa.entity.asset;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:51
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_maintenance_ticket")
@ApiModel(value = "MaintenanceTicket对象", description = "")
public class MaintenanceTicket implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("运维工单主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("工单类型")
    @TableField("ticket_type")
    private String ticketType;

    @ApiModelProperty("工单编号")
    @TableField("ticket_num")
    private String ticketNum;

    @ApiModelProperty("工单名称")
    @TableField("ticket_name")
    private String ticketName;

    @ApiModelProperty("执行人员")
    @TableField("person")
    private String person;

    @ApiModelProperty("联系电话")
    @TableField("tel")
    private String tel;

    @ApiModelProperty("提交时间")
    @TableField("submission_time")
    private Date submissionTime;

    @ApiModelProperty("状态(0-待派单，1-待确认，2-已完成)")
    @TableField("maintenance_ticket_state")
    private Integer maintenanceTicketState;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;


}
